package com.aos.erp.schools.mapper.division;

import com.aos.erp.common.dao.mapper.SuperMapper;
import com.aos.erp.schools.model.division.entity.Division;
import com.aos.erp.schools.model.division.ro.UpdateDivisionRo;
import com.aos.erp.schools.model.division.vo.ShowDivisionVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * 省市对应分所 Mapper 接口
 * </p>
 *
 * @author ywb
 * @since 2018-10-31
 */
@Mapper
public interface DivisionMapper extends SuperMapper<Division> {

	int updateDivision(UpdateDivisionRo addDivisionRo);

	List<ShowDivisionVo> queryListVo( Map<String, Object> map);

	Division infoByDepCode(String depCode);
}
